import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./service/index";
import "normalize.css"; //清楚默认样式
import "@/assets/css/index.less";
import * as ElIconList from "@element-plus/icons-vue";

const app = createApp(App);
for (const name in ElIconList) {
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
  // @ts-ignore
  app.component(name, ElIconList[name]);
}
app.use(store);
app.use(router);
app.mount("#app");
